home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• The Arcade •
/
Scarab of Ra •••••
/
Scarab of RA
/
Scarab of RA.rsrc
/
CODE_32.txt
< prev
next >
Wrap
Text File
|
1987-12-16
|
14KB
|
253 lines
# near model CODE resource
# jump table entries: 33681-33681 (1 of them)
export_114:
00000000 4E56 FFF4 link A6, -0x000C
00000004 3D6D E7F4 FFFE move.w [A6 - 0x2], [A5 - 0x180C]
0000000A 422E FFF5 clr.b [A6 - 0xB]
0000000E 302E FFFE move.w D0, [A6 - 0x2]
00000012 48C0 ext.l D0
00000014 E980 asl D0, 4
00000016 41ED 9B58 lea.l A0, [A5 - 0x64A8]
0000001A D1C0 add.l A0, D0
0000001C 326D E7F6 movea.w A1, [A5 - 0x180A]
00000020 2009 move.l D0, A1
00000022 C090 and.l D0, [A0]
00000024 4A80 tst.l D0
00000026 6624 bne +0x26 /* 0000004C */
00000028 4879 0000 1676 push.l 0x1676
0000002E 4879 0000 1674 push.l 0x1674
00000034 4879 0000 1672 push.l 0x1672
0000003A 4879 0000 1654 push.l 0x1654
00000040 4EAD 057A jsr [A5 + 0x57A /* export_171 */]
00000044 4FEF 0010 lea.l A7, [A7 + 0x10]
00000048 6000 02D6 bra +0x2D8 /* 00000320 */
label0000004C:
0000004C 3F2D E7F6 move.w -[A7], [A5 - 0x180A]
00000050 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000054 4EAD 03E2 jsr [A5 + 0x3E2 /* export_120 */]
00000058 588F addq.l A7, 4
0000005A 3D40 FFFE move.w [A6 - 0x2], D0
0000005E 302E FFFE move.w D0, [A6 - 0x2]
00000062 48C0 ext.l D0
00000064 E980 asl D0, 4
00000066 41ED 9B58 lea.l A0, [A5 - 0x64A8]
0000006A D1C0 add.l A0, D0
0000006C 4879 0010 0000 push.l 0x100000
00000072 2F28 0008 move.l -[A7], [A0 + 0x8]
00000076 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
0000007A 508F addq.l A7, 8
0000007C 2D40 FFF6 move.l [A6 - 0xA], D0
00000080 6018 bra +0x1A /* 0000009A */
label00000082:
00000082 4879 0010 0000 push.l 0x100000
00000088 206E FFF6 movea.l A0, [A6 - 0xA]
0000008C 2F28 0014 move.l -[A7], [A0 + 0x14]
00000090 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
00000094 508F addq.l A7, 8
00000096 2D40 FFF6 move.l [A6 - 0xA], D0
label0000009A:
0000009A 4AAE FFF6 tst.l [A6 - 0xA]
0000009E 670C beq +0xE /* 000000AC */
000000A0 206E FFF6 movea.l A0, [A6 - 0xA]
000000A4 0C28 0001 0006 cmpi.b [A0 + 0x6], 0x1
000000AA 66D6 bne -0x28 /* 00000082 */
label000000AC:
000000AC 4AAE FFF6 tst.l [A6 - 0xA]
000000B0 664C bne +0x4E /* 000000FE */
000000B2 302E FFFE move.w D0, [A6 - 0x2]
000000B6 48C0 ext.l D0
000000B8 E980 asl D0, 4
000000BA 41ED 9B58 lea.l A0, [A5 - 0x64A8]
000000BE D1C0 add.l A0, D0
000000C0 4879 0010 0000 push.l 0x100000
000000C6 2F28 0008 move.l -[A7], [A0 + 0x8]
000000CA 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
000000CE 508F addq.l A7, 8
000000D0 2D40 FFF6 move.l [A6 - 0xA], D0
000000D4 6018 bra +0x1A /* 000000EE */
label000000D6:
000000D6 4879 0010 0000 push.l 0x100000
000000DC 206E FFF6 movea.l A0, [A6 - 0xA]
000000E0 2F28 0014 move.l -[A7], [A0 + 0x14]
000000E4 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
000000E8 508F addq.l A7, 8
000000EA 2D40 FFF6 move.l [A6 - 0xA], D0
label000000EE:
000000EE 4AAE FFF6 tst.l [A6 - 0xA]
000000F2 670A beq +0xC /* 000000FE */
000000F4 206E FFF6 movea.l A0, [A6 - 0xA]
000000F8 4A28 0006 tst.b [A0 + 0x6]
000000FC 66D8 bne -0x26 /* 000000D6 */
label000000FE:
000000FE 4AAE FFF6 tst.l [A6 - 0xA]
00000102 664E bne +0x50 /* 00000152 */
00000104 302E FFFE move.w D0, [A6 - 0x2]
00000108 48C0 ext.l D0
0000010A E980 asl D0, 4
0000010C 41ED 9B58 lea.l A0, [A5 - 0x64A8]
00000110 D1C0 add.l A0, D0
00000112 4879 0010 0000 push.l 0x100000
00000118 2F28 0008 move.l -[A7], [A0 + 0x8]
0000011C 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
00000120 508F addq.l A7, 8
00000122 2D40 FFF6 move.l [A6 - 0xA], D0
00000126 6018 bra +0x1A /* 00000140 */
label00000128:
00000128 4879 0010 0000 push.l 0x100000
0000012E 206E FFF6 movea.l A0, [A6 - 0xA]
00000132 2F28 0014 move.l -[A7], [A0 + 0x14]
00000136 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
0000013A 508F addq.l A7, 8
0000013C 2D40 FFF6 move.l [A6 - 0xA], D0
label00000140:
00000140 4AAE FFF6 tst.l [A6 - 0xA]
00000144 670C beq +0xE /* 00000152 */
00000146 206E FFF6 movea.l A0, [A6 - 0xA]
0000014A 0C28 0002 0006 cmpi.b [A0 + 0x6], 0x2
00000150 66D6 bne -0x28 /* 00000128 */
label00000152:
00000152 4AAE FFF6 tst.l [A6 - 0xA]
00000156 6700 00D8 beq +0xDA /* 00000230 */
0000015A 206E FFF6 movea.l A0, [A6 - 0xA]
0000015E 4A28 0006 tst.b [A0 + 0x6]
00000162 6648 bne +0x4A /* 000001AC */
00000164 4879 0000 1678 push.l 0x1678
0000016A 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
0000016E 588F addq.l A7, 4
00000170 3F3C 0001 move.w -[A7], 0x1
00000174 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00000178 486D 95DE pea.l [A5 - 0x6A22]
0000017C 4EAD 050A jsr [A5 + 0x50A /* export_157 */]
00000180 4FEF 000A lea.l A7, [A7 + 0xA]
00000184 4879 0000 1686 push.l 0x1686
0000018A 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
0000018E 588F addq.l A7, 4
00000190 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00000194 4EAD 00FA jsr [A5 + 0xFA /* export_27 */]
00000198 588F addq.l A7, 4
0000019A 3F2D E7F6 move.w -[A7], [A5 - 0x180A]
0000019E 3F2D E7F4 move.w -[A7], [A5 - 0x180C]
000001A2 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
000001A6 588F addq.l A7, 4
000001A8 6000 0176 bra +0x178 /* 00000320 */
label000001AC:
000001AC 206E FFF6 movea.l A0, [A6 - 0xA]
000001B0 0C28 0001 0006 cmpi.b [A0 + 0x6], 0x1
000001B6 6600 0068 bne +0x6A /* 00000220 */
000001BA 206E FFF6 movea.l A0, [A6 - 0xA]
000001BE 0828 0007 0009 btst.b [A0 + 0x9], 0x7
000001C4 671C beq +0x1E /* 000001E2 */
000001C6 4879 0000 168A push.l 0x168A
000001CC 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
000001D0 588F addq.l A7, 4
000001D2 4879 0000 16B8 push.l 0x16B8
000001D8 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
000001DC 588F addq.l A7, 4
000001DE 6000 0140 bra +0x142 /* 00000320 */
label000001E2:
000001E2 206E FFF6 movea.l A0, [A6 - 0xA]
000001E6 08E8 0004 000B bset.b [A0 + 0xB], 0x4
000001EC 3F3C 0002 move.w -[A7], 0x2
000001F0 4EAD 0572 jsr [A5 + 0x572 /* export_170 */]
000001F4 548F addq.l A7, 2
000001F6 4A40 tst.w D0
000001F8 660C bne +0xE /* 00000206 */
000001FA 206E FFF6 movea.l A0, [A6 - 0xA]
000001FE 08E8 0005 000B bset.b [A0 + 0xB], 0x5
00000204 600A bra +0xC /* 00000210 */
label00000206:
00000206 206E FFF6 movea.l A0, [A6 - 0xA]
0000020A 08A8 0005 000B bclr.b [A0 + 0xB], 0x5
label00000210:
00000210 4879 0000 16D8 push.l 0x16D8
00000216 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
0000021A 588F addq.l A7, 4
0000021C 6000 0102 bra +0x104 /* 00000320 */
label00000220:
00000220 4879 0000 1706 push.l 0x1706
00000226 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
0000022A 588F addq.l A7, 4
0000022C 6000 00F2 bra +0xF4 /* 00000320 */
label00000230:
00000230 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000234 4EAD 0572 jsr [A5 + 0x572 /* export_170 */]
00000238 548F addq.l A7, 2
0000023A 4A40 tst.w D0
0000023C 6624 bne +0x26 /* 00000262 */
0000023E 4879 0000 1740 push.l 0x1740
00000244 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
00000248 588F addq.l A7, 4
0000024A 206E 0008 movea.l A0, [A6 + 0x8]
0000024E 08E8 0006 0009 bset.b [A0 + 0x9], 0x6
00000254 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000258 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
0000025C 588F addq.l A7, 4
0000025E 6000 00C0 bra +0xC2 /* 00000320 */
label00000262:
00000262 302E FFFE move.w D0, [A6 - 0x2]
00000266 48C0 ext.l D0
00000268 E980 asl D0, 4
0000026A 41ED 9B58 lea.l A0, [A5 - 0x64A8]
0000026E D1C0 add.l A0, D0
00000270 4878 0040 push.l 0x40 /* '@' */
00000274 2F28 0008 move.l -[A7], [A0 + 0x8]
00000278 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
0000027C 508F addq.l A7, 8
0000027E 2D40 FFFA move.l [A6 - 0x6], D0
00000282 4A80 tst.l D0
00000284 6742 beq +0x44 /* 000002C8 */
00000286 206E FFFA movea.l A0, [A6 - 0x6]
0000028A 0828 0001 0009 btst.b [A0 + 0x9], 0x1
00000290 6636 bne +0x38 /* 000002C8 */
00000292 206E FFFA movea.l A0, [A6 - 0x6]
00000296 0828 0000 000A btst.b [A0 + 0xA], 0x0
0000029C 6616 bne +0x18 /* 000002B4 */
0000029E 3F3C 0003 move.w -[A7], 0x3
000002A2 4EAD 0572 jsr [A5 + 0x572 /* export_170 */]
000002A6 548F addq.l A7, 2
000002A8 4A40 tst.w D0
000002AA 661C bne +0x1E /* 000002C8 */
000002AC 7001 moveq.l D0, 0x01
000002AE 1D40 FFF5 move.b [A6 - 0xB], D0
000002B2 6014 bra +0x16 /* 000002C8 */
label000002B4:
000002B4 3F3C 0008 move.w -[A7], 0x8
000002B8 4EAD 0572 jsr [A5 + 0x572 /* export_170 */]
000002BC 548F addq.l A7, 2
000002BE 4A40 tst.w D0
000002C0 6606 bne +0x8 /* 000002C8 */
000002C2 7001 moveq.l D0, 0x01
000002C4 1D40 FFF5 move.b [A6 - 0xB], D0
label000002C8:
000002C8 4A2E FFF5 tst.b [A6 - 0xB]
000002CC 6746 beq +0x48 /* 00000314 */
000002CE 4879 0000 175A push.l 0x175A
000002D4 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
000002D8 588F addq.l A7, 4
000002DA 3F3C 0001 move.w -[A7], 0x1
000002DE 2F2E FFFA move.l -[A7], [A6 - 0x6]
000002E2 486D 95DE pea.l [A5 - 0x6A22]
000002E6 4EAD 050A jsr [A5 + 0x50A /* export_157 */]
000002EA 4FEF 000A lea.l A7, [A7 + 0xA]
000002EE 4879 0000 1766 push.l 0x1766
000002F4 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
000002F8 588F addq.l A7, 4
000002FA 2F2E FFFA move.l -[A7], [A6 - 0x6]
000002FE 4EAD 030A jsr [A5 + 0x30A /* export_93 */]
00000302 588F addq.l A7, 4
00000304 3F2D E7F6 move.w -[A7], [A5 - 0x180A]
00000308 3F2D E7F4 move.w -[A7], [A5 - 0x180C]
0000030C 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
00000310 588F addq.l A7, 4
00000312 600C bra +0xE /* 00000320 */
label00000314:
00000314 4879 0000 176A push.l 0x176A
0000031A 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
0000031E 588F addq.l A7, 4
label00000320:
00000320 4E5E unlink A6
00000322 4E75 rts
00000324 504F addq.w A7, 8
00000326 4C45 2020 movem.l D5,A5, D5
0000032A 2020 move.l D0, -[A0]